Skip to content

mozjs-sys: Build from source if the jitspew feature is enabled#728

Merged
jdm merged 2 commits intoservo:mainfrom
simonwuelker:jitspew-from-source
Apr 8, 2026
Merged

mozjs-sys: Build from source if the jitspew feature is enabled#728
jdm merged 2 commits intoservo:mainfrom
simonwuelker:jitspew-from-source

Conversation

@simonwuelker
Copy link
Copy Markdown
Member

Otherwise the IONFLAGS environment variable does nothing.

Testing: We don't have tests for the build process
Servo companion PR: servo/servo#44010

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
@simonwuelker
Copy link
Copy Markdown
Member Author

Now I need a maintainer with the necessary permissions to merge & publish this

@jdm jdm added this pull request to the merge queue Apr 8, 2026
Merged via the queue into servo:main with commit b50a0f6 Apr 8, 2026
42 checks passed
@sagudev
Copy link
Copy Markdown
Member

sagudev commented Apr 8, 2026

Now I need a maintainer with the necessary permissions to merge & publish this

Hm, given that you are in maintainers team you should be able to land this yourself:
slika

@simonwuelker
Copy link
Copy Markdown
Member Author

simonwuelker commented Apr 8, 2026

Now I need a maintainer with the necessary permissions to merge & publish this

Hm, given that you are in maintainers team you should be able to land this yourself: slika

I can't publish the crate to sync servo though.

I'm used to html5ever, the merge queue there is so fast that its easier if you only merge the change if someone is ready to publish right after, otherwise its easy to run into issues when multiple PRs want to get released.

@sagudev
Copy link
Copy Markdown
Member

sagudev commented Apr 8, 2026

Publish is automatic on merge here.

github-merge-queue bot pushed a commit to servo/servo that referenced this pull request Apr 8, 2026
The `IONFLAGS` environment variable configure logging for the JIT, but
it must be enabled in spidermonkey at compile time. The prebuilt mozjs
binaries don't enable it, so we must build from source.

Companion PR for servo/mozjs#728

Testing: We don't have tests for the build process

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants